import request from '@/utils/request'
import defaultSettings from '@/settings'

export function holidayManage(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/systemManager/dateManager/HolidayManage/search`,
    method: "post",
    data
  });
}

export function holidayManageSave(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/systemManager/dateManager/HolidayManage/save`,
    method: "post",
    data:{holidayList:data}
  });
}
